package com.huawen.cms.app.dto;

import com.huawen.cms.app.entity.Category;


import java.util.ArrayList;
import java.util.List;

public class CategoryTree extends Category {

    //region 字段
    //前端用
    public Boolean actived;

    public List<CategoryTree> children;
    //endregion

    public CategoryTree() {
        children = new ArrayList<CategoryTree>();
        actived = false;
    }

    //region getter/setter
    public Boolean getActived() {
        return actived;
    }

    public void setActived(Boolean actived) {
        this.actived = actived;
    }

    public List<CategoryTree> getChildren() {
        return children;
    }

    public void setChildren(List<CategoryTree> children) {
        this.children = children;
    }
    //endregion

}
